package architect.springcloud.gateway.zuul.repository;

import architect.springcloud.gateway.zuul.domain.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 用户Repository
 *
 * @author guanxin
 * @date 2018/5/3 11:01
 */

public interface UserInfoRepository extends JpaRepository<UserInfo, Long> {
    UserInfo findByUsername(String username);
}
